//
//  BaseCollectionReusableView.m
//  BaseCode
//
//  Created by 曹连华 on 2020/3/25.
//

#import "BaseCollectionReusableView.h"

@implementation BaseCollectionReusableView
+ (NSString *)cellReuseIdentifier {
    return NSStringFromClass([self class]);
}

+ (UINib *)nib {
    NSString *className = NSStringFromClass([self class]);
    return [UINib nibWithNibName:className bundle:nil];
}

- (void)updateWithCellData:(id)aData {
    
}

+ (CGSize)sizeForCellData:(id)aData {
    return CGSizeZero;
}

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}
@end
